Shell commands can be entered at the GrADS command line, by preceeding them with an exclamation point:
ga> !ls -l /data/wx/grads
The output of the command, unless redirected, will appear on your console. Shell commands may be executed via a script or exec; but the output of the command will not be returned to the script via the result variable.
You may specify the file names on the command line of GrADS utilities:
stnmap -i descriptor-name
Two new commands have been added to support resetting or reinitializing the state of GrADS:
reset : This command initializes GrADS to its initial state with the following exceptions:
1) No files are closed
2) No defined objects are released
3) The 'set display' settings are not modified
If files are open, the default file is set to 1, and the dimension environment is set to X,Y varying and Z and T set to 1 (as though file 1 were just opened).
reinit: This command does the same as reset, and in addition closes all open files and releases all defined objects. This command essentially returns GrADS to its initial state just after it is started.
A 'close' command (for selectively closing files) will be supported in the near future.